<?php

    require_once('../inc/DBH.php');
    require_once('../inc/Session.php');
    require_once('../inc/Model/Usuario.php');

    if( session_status() != PHP_SESSION_ACTIVE ) session_start();

    $session = get_session();
    if( ! $session ) {
        require_once('login.php');
    } else {
        require_once('admin.php');
    }
?>